<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
		<title>C2earn Admin</title>
		<link rel="stylesheet" href="../Public/css/960.css" type="text/css" media="screen" charset="utf-8" />
		<link rel="stylesheet" href="../Public/css/template.css" type="text/css" media="screen" charset="utf-8" />
		<link rel="stylesheet" href="../Public/css/colour.css" type="text/css" media="screen" charset="utf-8" />
		<!--[if IE]><![if gte IE 6]><![endif]-->
		<script type="text/javascript" src="../Public/js/glow/1.7.0/core/core.js"></script>
		<script type="text/javascript" src="../Public/js/glow/1.7.0/widgets/widgets.js"></script>
		<link href="../Public/js/glow/1.7.0/widgets/widgets.css" type="text/css" rel="stylesheet" />
		<script type="text/javascript">
			glow.ready(function(){
				new glow.widgets.Sortable(
					'#content .grid_5, #content .grid_6',
					{
						draggableOptions : {
							handle : 'h2'
						}
					}
				);
			});
		</script>
		<!--[if IE]><![endif]><![endif]-->
	</head>
	<body>
	
	
		<h1 id="head">C2earn Admin</h1>
		
		<ul id="navigation">
			<li><?php if($nav == 'index'): ?><span class="active"><?php endif; ?><a href="__APP__/index">Overview</a><?php if($nav == 'index'): ?></span><?php endif; ?></li>
			<li><?php if($nav == 'video'): ?><span class="active"><?php endif; ?><a href="__APP__/video">Ad Videos</a><?php if($nav == 'video'): ?></span><?php endif; ?></li>
			<li><?php if($nav == 'coupon'): ?><span class="active"><?php endif; ?><a href="__APP__/coupon">Coupons</a><?php if($nav == 'coupon'): ?></span><?php endif; ?></li>
			<li><?php if($nav == 'order'): ?><span class="active"><?php endif; ?><a href="__APP__/order">Orders</a><?php if($nav == 'order'): ?></span><?php endif; ?></li>
			<li style="float:right;"><a href="<?php echo ($nav_logout); ?>">Logout</a></li>
		</ul>			<div id="content" class="container_16 clearfix">				<div class="grid_16">					<h2>Add New Coupon</h2>					<!--<p class="error">Something went wronk.</p>-->				</div>								<form action="__URL__/add" method="post" enctype="multipart/form-data">				<div class="grid_5">					<p>						<label for="title">Title <small>Must contain alpha-numeric characters.</small></label>						<input type="text" name="c_name" />					</p>				</div>				<div class="grid_5">					<p>						<label for="title">Slug <small>Must contain alpha-numeric characters.</small></label>						<input type="text" name="video_name" />					</p>										</div>				<div class="grid_6">					<p>						<label for="title">Category</label>						<select name="cat" >							<option value="" selected="selected">Select Category</option>							<?php if(is_array($cats)): foreach($cats as $key=>$cat): ?><option value="<?php echo ($cat["id"]); ?>"><?php echo ($cat["name"]); ?></option><?php endforeach; endif; ?>						</select>					</p>				</div>								<div class="grid_8">					<p>						<label for="title">Quantity <small></small></label>						<input type="text" name="c_number" />					</p>										</div>								<div class="grid_8">					<p>						<label for="title">Points <small></small></label>						<input type="text" name="points" />					</p>										</div>								<div class="grid_8">					<p>						<label for="title">Upload Image <small></small></label>						<input type="file" name="photo" />					</p>										</div>				<div class="grid_16">					<p>						<label>Summary <small>Will be displayed in search engine results.</small></label>						<textarea></textarea>					</p>				</div>				<div class="grid_16">					<p>						<label>Article <small>Markdown Syntax.</small></label>						<textarea class="big"></textarea>					</p>					<p class="submit">						<input type="reset" value="Reset" />						<input type="submit" value="Add" />						<input type="hidden" name="submitted" value="submitted" />					</p>				</div>				</form>			</div>		<div id="foot">
			<div class="container_16 clearfix">
				<div class="grid_16">
					<a href="#">Contact Me</a>
				</div>
			</div>
		</div>
	</body>
</html>